package com.ktjy.crm.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ktjy.crm.entity.User;

import java.util.HashMap;

public interface IUserService {
    User login(String username, String password);
    int addUser(User user);
    int deleteUser(Long userId);
    int updateUser(User user);
    User getUser(Long usrId);
    //分页查询
    public IPage<User> getUserByPage(HashMap<String,Object> hashMap);
}
